package com.platform.destiny.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.platform.destiny.dto.UserPageReq;
import com.platform.destiny.dto.UserReq;
import com.platform.destiny.entity.User;

import java.util.List;

public interface UserService {

    List<User> queryUserList(UserReq req);

    Integer insert(User user);

    Integer update(User user);

    Integer deleteById(Long id);

    User selectById(Long id);

    Page<User> selectUserPage(UserPageReq userReq);


}
